package com.byl.modules.sys.service.impl;

import com.byl.modules.sys.dao.UserDao;
import com.byl.modules.sys.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * Created by Administrator on 2019/7/29.
 */
@Service
@SuppressWarnings("ALL")
public class LoginServiceImpl implements LoginService {

    @Autowired
    UserDao userDao;

    @Override
    public Map queryUser(String username) { return userDao.queryUser(username); }

    @Override
    public Map queryPartnerUser(Map map) {
        return userDao.queryPartnerUser(map);
    }
}
